<template>
  <div class="">
  	<div class="successImg text-center">
  		<img src="/static/wechat/images/success@2x.png" alt="">
  	</div>
    <div class="successTip text-center">
      <div>订单提交成功</div>
      <div>跳转到会员中心</div>
    </div>
  </div>
</template>
<script>
  export default {
    name: 'successOrder',
    data () {
      return {
        msg: 'successOrder'
      }
    },

    mounted() {
      setTimeout(() => {
        this.goToPersonCenter();
      }, 1000);
    },

    methods:{
     goToPersonCenter(){
      this.$router.push({
        path:`/center`
      })
    },
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
div{
  text-align: center;
}
button{
  font-size: 16px;
  width: 50%;
  margin: 5% auto;
}

</style>
